/*
 * @Description: 所有权限列表
 * @Author: HuiSir<https://gitee.com/huisir001>
 * @Date: 2025-08-13 16:06:19
 * @LastEditTime: 2025-09-24 16:39:00
 */
import { rawList2Tree } from "./_helpers";

const list = [
  {
    id: "001",
    path: "",
    title: "系统管理",
    code: "@string('lower', 5)",
    icon: "setting",
    pid: null,
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 1,
    type: "M",
    menuType: "category",
    viewPath: null,
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "00223133",
    code: "@string('lower', 5)",
    path: "/sys/settings",
    title: "系统设置",
    icon: "SetUp",
    pid: "001",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "route",
    viewPath: "views/sys/settings/index.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "002",
    code: "@string('lower', 5)",
    path: "/sys/dept",
    title: "部门管理",
    icon: "operation",
    pid: "001",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "route",
    viewPath: "views/sys/dept/index.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "@id",
    code: "@string('lower', 5)",
    path: "/sys/permission",
    title: "权限管理",
    icon: "menu",
    pid: "001",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 3,
    type: "M",
    menuType: "route",
    viewPath: "views/sys/permission/index.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "@id",
    code: "@string('lower', 5)",
    path: "/sys/role",
    title: "角色管理",
    icon: "role",
    pid: "001",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 4,
    type: "M",
    menuType: "route",
    viewPath: "views/sys/role/index.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "@id",
    code: "@string('lower', 5)",
    path: "/sys/administrator",
    title: "账号管理",
    icon: "user",
    pid: "001",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 4,
    type: "M",
    menuType: "route",
    viewPath: "views/sys/administrator/index.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "003",
    code: "@string('lower', 5)",
    path: "",
    title: "布局容器",
    icon: "layout",
    pid: null,
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 1,
    type: "M",
    menuType: "category",
    viewPath: null,
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "004",
    code: "@string('lower', 5)",
    path: "/layout/full",
    title: "整体布局",
    icon: "fullScreen",
    pid: "003",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "route",
    viewPath: "views/examples/container/full.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "@id",
    code: "@string('lower', 5)",
    path: "/layout/grid",
    title: "栅格布局",
    icon: "grid",
    pid: "003",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "route",
    viewPath: "views/examples/container/grid.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "005",
    code: "@string('lower', 5)",
    path: "",
    title: "组件示例",
    icon: "Module",
    pid: null,
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 1,
    type: "M",
    menuType: "category",
    viewPath: null,
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "006",
    code: "@string('lower', 5)",
    path: "/example/card",
    title: "卡片",
    icon: "Postcard",
    pid: "005",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "route",
    viewPath: "views/examples/basicComp/card.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "@id",
    code: "@string('lower', 5)",
    path: "/example/editor",
    title: "富文本编辑器",
    icon: "Edit",
    pid: "005",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "route",
    viewPath: "views/examples/basicComp/editor.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "@id",
    code: "@string('lower', 5)",
    path: "/example/splitBox",
    title: "左右分栏",
    icon: "Edit",
    pid: "005",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "route",
    viewPath: "views/examples/basicComp/splitBox.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "@id",
    code: "@string('lower', 5)",
    path: "/example/stepForm",
    title: "分步表单",
    icon: "Finished",
    pid: "005",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "route",
    viewPath: "views/examples/formComp/stepForm.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "231",
    code: "@string('lower', 5)",
    path: "",
    title: "指令示例",
    icon: "Directive",
    pid: null,
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 1,
    type: "M",
    menuType: "category",
    viewPath: null,
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "@id",
    code: "@string('lower', 5)",
    path: "/example/copyByClick",
    title: "左键单击复制",
    icon: "CopyDocument",
    pid: "231",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "route",
    viewPath: "views/examples/directive/copyByClick.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "@id",
    code: "@string('lower', 5)",
    path: "/example/contextMenu",
    title: "右键自定义菜单",
    icon: "Mouse",
    pid: "231",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "route",
    viewPath: "views/examples/directive/contextMenu.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "2313211",
    code: "@string('lower', 5)",
    path: "",
    title: "工具示例",
    icon: "Module",
    pid: null,
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 1,
    type: "M",
    menuType: "category",
    viewPath: null,
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "2313135454",
    code: "@string('lower', 5)",
    path: "/print",
    title: "模板打印",
    icon: "DocumentChecked",
    pid: "2313211",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "route",
    viewPath: "views/examples/print/index.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "007",
    code: "@string('lower', 5)",
    path: "",
    title: "页面示例",
    icon: "PageManage",
    pid: null,
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 1,
    type: "M",
    menuType: "category",
    viewPath: null,
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "008",
    code: "@string('lower', 5)",
    path: "/pages/success",
    title: "成功页",
    icon: "DocumentChecked",
    pid: "007",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "route",
    viewPath: "views/examples/pages/success.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "009",
    code: "@string('lower', 5)",
    path: "/pages/fail",
    title: "失败页",
    icon: "DocumentDelete",
    pid: "007",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "route",
    viewPath: "views/examples/pages/fail.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "011",
    code: "@string('lower', 5)",
    path: "",
    title: "链接",
    icon: "Link",
    pid: null,
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "category",
    viewPath: null,
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "012",
    code: "@string('lower', 5)",
    path: "https://www.zuifengyun.com",
    title: "框架内",
    icon: "",
    pid: "011",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "link",
    viewPath: null,
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "013",
    code: "@string('lower', 5)",
    path: "https://www.zuifengyun.com",
    title: "新标签",
    icon: "",
    pid: "011",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "link",
    viewPath: null,
    blank: true,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "014",
    code: "@string('lower', 5)",
    path: "",
    title: "按钮",
    icon: "ClickButton",
    pid: null,
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "category",
    viewPath: null,
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "@id",
    code: "@string('lower', 5)",
    path: "",
    title: "按钮1",
    icon: "",
    pid: "014",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "button",
    viewPath: null,
    blank: false,
    triggerMethod: "sidebarBtn1",
    dataPermission: "",
  },
  {
    id: "@id",
    code: "@string('lower', 5)",
    path: "",
    title: "按钮2",
    icon: "",
    pid: "014",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "button",
    viewPath: null,
    blank: false,
    triggerMethod: "sidebarBtn2",
    dataPermission: "",
  },
  {
    id: "015",
    code: "@string('lower', 5)",
    path: "",
    title: "监控",
    icon: "Monitor",
    pid: null,
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "category",
    viewPath: null,
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "@id",
    code: "@string('lower', 5)",
    path: "/monitor/reqLogs",
    title: "请求日志",
    icon: "Document",
    pid: "015",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 4,
    type: "M",
    menuType: "route",
    viewPath: "views/monitor/reqLogs/index.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "@id",
    code: "@string('lower', 5)",
    path: "/monitor/loginLogs",
    title: "登录日志",
    icon: "LoginLogs",
    pid: "015",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 4,
    type: "M",
    menuType: "route",
    viewPath: "views/monitor/loginLogs/index.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "@id",
    code: "@string('lower', 5)",
    path: "/monitor/online",
    title: "在线用户",
    icon: "OnlineUser",
    pid: "015",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 4,
    type: "M",
    menuType: "route",
    viewPath: "views/monitor/online/index.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "@id",
    code: "@string('lower', 5)",
    path: "/monitor/server",
    title: "服务监控",
    icon: "Cpu",
    pid: "015",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 4,
    type: "M",
    menuType: "route",
    viewPath: "views/monitor/server/index.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "016",
    code: "@string('lower', 5)",
    path: "",
    title: "异常页",
    icon: "Exception",
    pid: null,
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "category",
    viewPath: null,
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "@id",
    code: "@string('lower', 5)",
    path: "/exception/404",
    title: "404",
    icon: "",
    pid: "016",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "route",
    viewPath: "views/exception/404.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "@id",
    code: "@string('lower', 5)",
    path: "/exception/403",
    title: "403",
    icon: "",
    pid: "016",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "route",
    viewPath: "views/exception/403.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "@id",
    code: "@string('lower', 5)",
    path: "/exception/500",
    title: "500",
    icon: "",
    pid: "016",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "route",
    viewPath: "views/exception/500.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "@id",
    code: "@string('lower', 5)",
    path: "/exception/501",
    title: "新标签500",
    icon: "",
    pid: "016",
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "route",
    viewPath: "views/exception/500.vue",
    blank: true,
    triggerMethod: null,
    dataPermission: "",
  },
  {
    id: "@id",
    code: "@string('lower', 5)",
    path: "/fileLibrary",
    title: "文件库",
    icon: "FolderOpened",
    pid: null,
    keepAlive: true,
    style: "",
    internal: true,
    orderRank: 2,
    type: "M",
    menuType: "route",
    viewPath: "views/fileLibrary/index.vue",
    blank: false,
    triggerMethod: null,
    dataPermission: "",
  },
] as Permission[];

export default rawList2Tree({ rawList: list });
